/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Testes;

import DAO.EspacoDAO;
import java.io.IOException;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Maury
 */
public class pesquisas {
    public static void main(String[] args){
        try {            
            System.out.println(EspacoDAO.PesquisarById(6));
        } catch (SQLException ex) {
            Logger.getLogger(pesquisas.class.getName()).log(Level.SEVERE, null, ex);
        } catch (ClassNotFoundException ex) {
            Logger.getLogger(pesquisas.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IOException ex) {
            Logger.getLogger(pesquisas.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
